.container {
  position: relative;
  width: 32px;
  height: 32px;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--spacing-2);
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius-md);
  transition: background-color 0.2s ease;
}

.button:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
  box-shadow: 0px 0px 40px 5px var(--primary-overlay-40);
}

.button.state-default {
  background-color: transparent;
}

.button.state-hover {
  background-color: var(--overlay-10);
}

.button.state-active {
  background-color: var(--primary-overlay-20);
}

.button.state-active-hover {
  background-color: var(--primary-overlay-40);
}

.iconWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.icon {
  color: var(--overlay-50);
  transition: color 0.2s ease;
}

.button.state-hover .icon {
  color: var(--overlay-70);
}

.button.state-active .icon {
  color: var(--primary-color);
}

.button.state-active-hover .icon {
  color: var(--primary-color);
}

.button.disabled {
  cursor: not-allowed;
  background-color: transparent;
}

.button.disabled:hover {
  background-color: transparent;
}

.button.disabled .icon {
  color: var(--overlay-30);
}
